"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(client, io) {
    client.on('resident-room', function (data, cb) {
        const { roomId, userId } = data;
        client.join(roomId);
        console.log('常驻房间: => ', roomId, userId);
        if (data.userId === userId) {
            cb('ffffffffffffffff----');
        }
    });
    client.on('resident-room', function (data, cb) {
        const { roomId, userId } = data;
        client.join(roomId);
        console.log('临时房间: => ', roomId);
        if (data.userId === userId) {
            cb('ffffffffffffffff----');
        }
    });
}
exports.default = default_1;
